package com.ssy.system.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author ssy
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper=false)
@TableName("sys_permission")
public class Permission implements Serializable {
    private static final long serialVersionUID = -6158422111313388394L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer pid;

    private String type;

    private String title;

    private String percode;//权限编码

    private String icon;

    private String href;

    private String openType;

    private Integer ordernum;

    private Integer available;


}
